 <div class="centercontent">
    
        <div class="pageheader">
            <h1 class="pagetitle">Halaman Beranda</h1>
            <span class="pagedesc"><strong>SELAMAT DATANG DI SISTEM INFORMASI PENGELOLAAN MEDIA CENTER ITS</strong></span>
            
            <ul class="hornav">
            </ul>
        </div><!--pageheader-->
		<br></br>
		
		<div id="contentwrapper" class="contentwrapper">
        
       	  <div id="updates" class="subcontent">
                    
                    
                    <div class="two_third dashboard_left">
                    
                    	<ul class="shortcuts">
                        	<li><a href="<?php echo base_url() ?>index.php/agenda" class="events"><span>Daftar Agenda</span></a></li>
                            <li><a href="<?php echo base_url() ?>index.php/anggota" class="users"><span>Daftar Anggota </span></a></li>
                            <li><a href="<?php echo base_url(); ?>index.php/pengelolaan_inventaris/index/<?php echo $this->session->userdata('id_organisasi'); ?>" class="gallery"><span>Daftar Inventaris</span></a></li>
                        </ul>
                        
                        <br clear="all" />
                        <!--contenttitle-->
                        <!--overviewhead-->
                        <br clear="all" />
                        <div class="widgetbox">
                            <div class="title">
                              <h3>Agenda Liputan anda </h3>
                            </div>
                            <div class="widgetcontent">
                                <ul class="recent_list">                                    
								<?php 
								if($home->num_rows() > 0){
								foreach($home->result() as $row){ ?>
                                    <li class="calendar new">
                                        <div class="msg"><strong>
                                            Agenda Anda : <a href="<?php echo base_url().'index.php/agenda/detail_agenda/'.$row->id_agenda; ?>">
											<?php echo $row->nama_agenda; ?></a>, Lokasi <?php echo $row->lokasi_agenda; ?>
											, Waktu : <?php echo date('d F Y', strtotime($row->tanggal_mulai)).' ('.$row->jam_mulai.')'; ?> s.d. 
											<?php echo date('d F Y', strtotime($row->tanggal_selesai)).' ('.$row->jam_selesai.')'; ?>, <br/>
											Status Agenda : <?php echo $row->status_agenda; ?>, Tugas : <?php echo $row->nama_tugas; ?>.
											</strong>
                                        </div>
                                    </li>
								<?php } } else{ ?>
								<li class="calendar new">
                                        <div class="msg">
                                            <strong>Anda tidak memiliki agenda liputan.</strong>
                                        </div>
                                    </li>
									<?php } ?>
                                </ul>
                            </div><!--widgetcontent-->
                        </div>
                        <br />
                        <!-- widgetbox -->
                    </div>
                    <!--two_third dashboard_left -->
                  <!--one_third last-->
            </div>
        	<!-- #updates -->
            
            <div id="activities" class="subcontent" style="display: none;">
            	&nbsp;
            </div><!-- #activities -->
        
        </div><!--contentwrapper-->
        
        <br clear="all" />
        
        